package io.github.lee.jel.global

import android.app.Application
import dagger.hilt.android.HiltAndroidApp
import io.github.lee.core.repository.di.http.HttpModule
import io.github.lee.jel.global.http.interceptors.resetHttp
import io.github.lee.repository.jel.data.session

@HiltAndroidApp
class JelApplication : Application() {

    override fun onCreate() {
        super.onCreate()

        if (null != session) {
            resetHttp(session?.host, session?.username, session?.token)
        }


    }
}